package com.mapper;

import java.util.List;

import com.bean.Food;

public interface FoodMapper {
    int deleteByPrimaryKey(Integer foodId);
    
    

    int insert(Food record);

    int insertSelective(Food record);

    Food selectByPrimaryKey(Integer foodId);
    
    List<Food> selectByClassificationId(Integer classificationId);
    
    List<Food> selectByFoodNameOrPinyin(String searchWords);
    
    List<Food> selectAll();

    int updateByPrimaryKeySelective(Food record);

    int updateByPrimaryKey(Food record);
}